Skip to content

Fix: Fetch ETS table info on snapshot reload - #296

Open
srzeszut wants to merge 10 commits into
mainfrom
voy-294-stale-info-in-ets-table
Open

srzeszut wants to merge 10 commits into
mainfrom
voy-294-stale-info-in-ets-table

Conversation

@srzeszut

@srzeszut srzeszut commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@srzeszut

srzeszut commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator Author

@claude review

@github-actions

github-actions Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Claude finished @srzeszut's task in 1m 5s —— View job


🦀 Review

No issues found that clear the confidence bar.

<verdict: 0 blocking, 0 should-fix, 0 nit>

@srzeszut
srzeszut requested a review from piotrsac October 8, 2026 12:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Private-table refresh recovery and destructive demo recreation failures remain unresolved.

2 open findings
What changed in this PR

Refreshes ETS table metadata when reloading a snapshot in Voyager.

Changes:

  • Reloads metadata and reports refresh failures while retaining prior info.
  • Adds regression tests and stable metadata element IDs.
  • Expands interactive ETS demo helpers and adds a launcher.
File Description
test/​voyager_web/​live/​ets_table_live_test.exs Tests metadata reloads and failure handling.
lib/​voyager_web/​live/​ets_table_live.ex Refreshes metadata during snapshot reloads.
lib/​voyager_web/​components/​ets_peek_components.ex Adds record-count and memory element IDs.
dev/​mock_nodes/​ets.sh Launches the interactive ETS demo node.
dev/​ets_demo_node.exs Adds table mutation and recreation helpers.

🧠 Review effort: Balanced


Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.

Comment thread dev/ets_demo_node.exs
Comment thread lib/voyager_web/live/ets_table_live.ex Outdated
@srzeszut

srzeszut commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator Author

@claude review

@srzeszut
srzeszut requested a balanced review from Copilot October 8, 2026 14:58
@github-actions

github-actions Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Claude finished @srzeszut's task in 31s —— View job


🦀 Review

No issues found that clear the confidence bar.

<verdict: 0 blocking, 0 should-fix, 0 nit>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Late chunk replies can restore cleared records, and metadata-only refreshes lack loading-state handling.

2 open findings
2 resolved since last review

🧠 Review effort: Balanced


Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.

Comment thread lib/voyager_web/live/ets_table_live.ex
Comment thread lib/voyager_web/live/ets_table_live.ex Outdated
@srzeszut

srzeszut commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator Author

@claude review

@srzeszut
srzeszut requested a balanced review from Copilot October 9, 2026 09:38
@github-actions

github-actions Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Claude finished @srzeszut's task in 38s —— View job


🦀 Review

No issues found that clear the confidence bar.

<verdict: 0 blocking, 0 should-fix, 0 nit>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Stale async results can resurface hidden records, and the demo recreation helper can lose table data.

2 open findings
2 resolved since last review

🧠 Review effort: Balanced

Comment thread dev/ets_demo_node.exs
Comment thread lib/voyager_web/live/ets_table_live.ex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants